package com.ruoyi.mes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单产品联系对象 sle_order_pro
 * 
 * @author ruoyi
 * @date 2024-06-04
 */
public class SleOrderPro extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 产品id */
    @Excel(name = "产品id")
    private Long proId;

    /** 产品需求数量 */
    @Excel(name = "产品需求数量")
    private Long proNum;

    @Excel(name = "产品已下达数量")
    private Long releasedNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setProId(Long proId) 
    {
        this.proId = proId;
    }

    public Long getProId() 
    {
        return proId;
    }
    public void setProNum(Long proNum) 
    {
        this.proNum = proNum;
    }

    public Long getProNum() 
    {
        return proNum;
    }


    public Long getReleasedNum() {
        return releasedNum;
    }

    public void setReleasedNum(Long releasedNum) {
        this.releasedNum = releasedNum;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("proId", getProId())
            .append("proNum", getProNum())
             .append("releasedNum", getReleasedNum())
            .toString();
    }
}
